From: Debian Wine Party Date: Sat, 19 Mar 2022 00:48:02 +0000 (+0000) Subject: append debian package revision to the end of the version string X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~33 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8f2d680d5fb3c2c8c2b95b9fea1e12e2b4d0ec7f;p=wine.git append debian package revision to the end of the version string origin: https://github.com/wine-compholio/wine-staging/blob/master/patches/Staging/0002-winelib-Append-Staging-at-the-end-of-the-version-s.patch forwarded: not-needed Gbp-Pq: Topic debianization Gbp-Pq: Name version-string.patch --- diff --git a/Makefile.in b/Makefile.in index 8c8668f..a172efd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -116,7 +116,7 @@ install-manpages:: manpages # Rules for generated source files dlls/ntdll/unix/version.c: dummy - @version=`(GIT_DIR=$(srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || ($(RM) $@ && exit 1) + @version=`(echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1 ($(VENDOR))";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || ($(RM) $@ && exit 1) programs/winetest/build.rc: dummy @build="STRINGTABLE { 1 \"`GIT_DIR=$(srcdir)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $$build | cmp -s - $@) || echo $$build >$@ || (rm -f $@ && exit 1)